/**
 * 
 */
package GUI;

import java.awt.*;

import javax.swing.*;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;

/**
 * @author aviat
 *
 */
public class secretaryMainGUI extends JPanel {
	
	private static final long serialVersionUID = 1L;
	private JButton btnLOGOUT;
	private JButton btnHandlingCustomer;
	private JButton btnEventHandling;
	private JLabel iconlabel;
	private JButton btnChangePassword;
	private JButton btnUpdateDetails;
	private JButton btnNotifyCustomer;
	
	public secretaryMainGUI() {
		setBackground(new Color(255, 51, 0));
		setLayout(null);
		btnLOGOUT = new JButton("LOGOUT");
		btnLOGOUT.setIcon(new ImageIcon(secretaryMainGUI.class.getResource("/resources/gnome_session_logout1.png")));
		btnHandlingCustomer = new JButton("Customer");
		btnHandlingCustomer.setIcon(new ImageIcon(secretaryMainGUI.class.getResource("/resources/folder-customer-icon.png")));
		btnEventHandling = new JButton("Event");
		btnEventHandling.setIcon(new ImageIcon(secretaryMainGUI.class.getResource("/resources/1402779782_rings.png")));
		btnUpdateDetails = new JButton("Update Details");
		btnChangePassword = new JButton("Change Password");
		btnNotifyCustomer = new JButton("Notify Customer");
		
		initialize();
	}

	private void initialize() {


		JLabel lblSecretaryMainWindow = new JLabel("Secretary Main Window");
		lblSecretaryMainWindow.setForeground(new Color(0, 204, 255));
		lblSecretaryMainWindow.setFont(new Font("Tahoma", Font.BOLD, 16));
		lblSecretaryMainWindow.setBounds(10, 11, 205, 44);
		add(lblSecretaryMainWindow);
		
		btnLOGOUT.setFont(new Font("Tahoma", Font.BOLD | Font.ITALIC, 12));
		btnLOGOUT.setBounds(10, 462, 121, 27);
		add(btnLOGOUT);
		
		
		btnHandlingCustomer.setFont(new Font("Tahoma", Font.BOLD, 12));
		btnHandlingCustomer.setBounds(150, 92, 191, 54);
		add(btnHandlingCustomer);
		
		btnEventHandling.setFont(new Font("Tahoma", Font.BOLD, 12));
		btnEventHandling.setBounds(150, 231, 191, 54);
		add(btnEventHandling);
		
		ImageIcon LOGOImageIcon = new ImageIcon(getClass().getClassLoader().getResource("resources/camera-background3.png"));
		ImageIcon LOGO = new ImageIcon (LOGOImageIcon.getImage().getScaledInstance(-1, -1, java.awt.Image.SCALE_SMOOTH));
		
		
		btnChangePassword.setIcon(new ImageIcon(secretaryMainGUI.class.getResource("/resources/change.png")));
		btnChangePassword.setFont(new Font("Tahoma", Font.BOLD | Font.ITALIC, 12));
		btnChangePassword.setBounds(422, 92, 191, 54);
		add(btnChangePassword);
		
		
		btnUpdateDetails.setIcon(new ImageIcon(secretaryMainGUI.class.getResource("/resources/Apps-system-software-update-icon.png")));
		btnUpdateDetails.setFont(new Font("Tahoma", Font.BOLD | Font.ITALIC, 12));
		btnUpdateDetails.setBounds(422, 231, 191, 54);
		add(btnUpdateDetails);
		
		btnNotifyCustomer.setIcon(new ImageIcon(secretaryMainGUI.class.getResource("/resources/eiMpnX5dT.png")));
		btnNotifyCustomer.setFont(new Font("Tahoma", Font.BOLD | Font.ITALIC, 12));
		btnNotifyCustomer.setBounds(286, 358, 191, 54);
		add(btnNotifyCustomer);
		
		iconlabel = new JLabel("");
		iconlabel.setIcon(LOGO);
		iconlabel.setBounds(0, 0, 786, 500);
		add(iconlabel);
	}


	/**
	 * @return the btnEventHandling
	 */
	public JButton getBtnEventHandling() {
		return btnEventHandling;
	}

	/**
	 * @return the btnBack
	 */
	public JButton getBtnBack() {
		return btnLOGOUT;
	}
	/**
	 * @return the btnHandlingCustomer
	 */
	public JButton getBtnHandlingCustomer() {
		return btnHandlingCustomer;
	}

	/**
	 * @return the btnLOGOUT
	 */
	public JButton getBtnLOGOUT() {
		return btnLOGOUT;
	}

	/**
	 * @param btnLOGOUT the btnLOGOUT to set
	 */
	public void setBtnLOGOUT(JButton btnLOGOUT) {
		this.btnLOGOUT = btnLOGOUT;
	}

	/**
	 * @return the btnChangePassword
	 */
	public JButton getBtnChangePassword() {
		return btnChangePassword;
	}

	/**
	 * @param btnChangePassword the btnChangePassword to set
	 */
	public void setBtnChangePassword(JButton btnChangePassword) {
		this.btnChangePassword = btnChangePassword;
	}

	/**
	 * @return the btnUpdateDetails
	 */
	public JButton getBtnUpdateDetails() {
		return btnUpdateDetails;
	}

	/**
	 * @param btnUpdateDetails the btnUpdateDetails to set
	 */
	public void setBtnUpdateDetails(JButton btnUpdateDetails) {
		this.btnUpdateDetails = btnUpdateDetails;
	}

	/**
	 * @param btnHandlingCustomer the btnHandlingCustomer to set
	 */
	public void setBtnHandlingCustomer(JButton btnHandlingCustomer) {
		this.btnHandlingCustomer = btnHandlingCustomer;
	}

	/**
	 * @param btnEventHandling the btnEventHandling to set
	 */
	public void setBtnEventHandling(JButton btnEventHandling) {
		this.btnEventHandling = btnEventHandling;
	}

	/**
	 * @return the btnNotifyCustomer
	 */
	public JButton getBtnNotifyCustomer() {
		return btnNotifyCustomer;
	}

	/**
	 * @param btnNotifyCustomer the btnNotifyCustomer to set
	 */
	public void setBtnNotifyCustomer(JButton btnNotifyCustomer) {
		this.btnNotifyCustomer = btnNotifyCustomer;
	}
}
